#version 330 core
out vec4 FragColor;

in vec3 vertex_position;
in vec2 texCoord;

uniform sampler2D ourTexture;
uniform float alpha;
uniform vec3 tintColor;

void main()
{
    vec4 texColor = texture(ourTexture, texCoord);
    FragColor = vec4(texColor.rgb * tintColor, 1.0);
    // FragColor = vec4(tintColor, texColor.a * alpha);
}